package cn.bluemobi.app.service;

import java.util.Map;

import cn.bluemobi.app.entity.output.BankCard;
import cn.bluemobi.app.entity.output.Member;
import cn.bluemobi.app.entity.output.Team;
import cn.bluemobi.app.entity.output.Withdrawals;
import cn.bluemobi.common.core.dto.Dto;
import cn.bluemobi.common.core.dto.ListDto;

public interface MemberService {
	Member getMemberInfo(Map<String, Object> params);

	Dto<Member> register(String cellphone, String password, String verifyCode,
			String inviteCode);

	Dto<Member> login(String cellphone, String password);

	Dto<Object> forgetPassword(String cellphone, String password,
			String verifyCode);

	Dto<Member> findPersonDetail(String memberId);

	Dto<Member> updatePersonDetail(String memberId, String headImg,
			String nickName, String sex);

	ListDto<BankCard> findBankCardList(String memberId);

	Dto<Object> addBankCard(String memberId, String bankCardNumber,
			String reservedName, String bankName, String bankBranch);

	Dto<Object> applyWithdrawals(String memberId, String bankCardId,
			String money, String brokerage, String payMoney);

	ListDto<Withdrawals> findWithdrawalsList(String memberId);

	Dto<Object> applyIdentification(String memberId, String name,
			String idCardNumber, String idCardImg);

	Dto<Object> deleteBankCard(String memberId, String bankCardId);

	ListDto<Team> findTeamList(String memberId, String inviteCode);

}
